# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         replace方法和strip方法
# Description:
# Author:       asus
# Date:         2019/2/28
#-------------------------------------------------------------------------------


#Repalce方法
#把car 换成bike
print("This is a car".replace("car","bike"))

#找不到place，所以不替换
print("This is a car".replace("place","bike"))


#strip方法
#截取字符串的前后空格，以及街区字符串前后指定的字符
